﻿using Geek.Server.Core.Net.BaseHandler;

namespace Server.Logic.Logic.Role.Bag
{
    [MsgMapping(typeof(ReqBagInfo))]
    public class ReqBagInfoHandler : RoleCompHandler<BagCompAgent>
    {
        public override async Task ActionAsync()
        {
            // Comp 直接对组件进行操作
           
            await Comp.GetBagInfo(Msg as ReqBagInfo);
            //Channel.Write();
            //Comp.Actor.SendAsync(action),发送一个操作。即，actor是一个线程。通过发送action，让action执行操作
           

        }
    }
}
